package com.learn.error;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/error")
public class ErrorPageController {

	
	@GetMapping("/test500")
	public String test500(){
		System.out.println(1/0);
		return "--";
	}
}
